//
//  Optimize_Para.m
//  MacStockApp
//
//  Created by Andy MacPro on 12/8/26.
//
//

#import "Optimize_Para.h"

#import "GBall.h"
#import "GBTableColumnHeader_basicSqlite.h"
#import "GBCalculationMethod_commonIndicator.h"
#import "GBCalculationMethod_selfIndicator.h"
#import "GBPara.h"
#import "RLCalculationMethod.h"
#import "RLParaOptimize.h"
 
@implementation Optimize_Para

@synthesize delgeate;
@synthesize _data_object;
@synthesize _optimize_method;

- (id)init_With_Data_Object:(Data_Object *)dob optimize_method:(NSString *)om; {
	
    if(self=[super init])
	{
        
        [self set_data_object:dob];
        [self set_optimize_method:om];
                 
    }
	
	return self;
}

 

- (void)main
{
    
    
    NSLog(@"最佳化執行序 開始queue =%@",  [[_data_object table_data] objectForKey:DB_object_sqlite_basic_code]);
    
    [_data_object run_optimize:_optimize_method ];
   
    
    NSLog(@"最佳化執行序 結束 queue =%@",  [[_data_object table_data] objectForKey:DB_object_sqlite_basic_code]);
    
    
}




@end